package wwk.common.event;

import android.content.Intent;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;

public class OnClickListenerEvent implements OnClickListener
{
	private static OnClickListenerEvent instance=null;
	
	public static OnClickListenerEvent getInstance()
	{
		if(instance==null)
			instance=new OnClickListenerEvent();
		
		return instance;
	}
	
	public void onClick(View view)
	{
		//Intent intent=(Intent)view.getTag();
		//view.getContext().sendBroadcast(intent);//sendBroadcast(intent); 
		EventHandler eventHandler=EventHandlerInstance.getInstance();
		eventHandler.HandleEvent(view);
	}

}
